Method and apparatus for providing an integrated file system

ABSTRACT

A novel network architecture that integrates the functions of an internet protocol (IP) router into a network processing unit (NPU) that resides in a host computer&#39;s chipset such that the host computer&#39;s resources are perceived as separate network appliances. In one embodiment, file handling functions are now integrated into a storage processing unit (SPU) that can also be deployed on the same chipset, where the SPU serves as an overall file and disk management processor.

[0001] The present invention relates to a novel network architecture. More specifically, the present invention integrates local and remote file handling into a host computer's chipset such that the host OS will perceive the chipset as an endpoint for data storage.

BACKGROUND OF THE DISCLOSURE

[0002]FIG. 1 illustrates traditional internal content sources and data pipes where the data routing function is performed by a host central processing unit (CPU) and its operating system (OS) 110. Namely, the host computer may comprise a number of storage devices 120, a plurality of media engines 130, and a plurality of other devices that are accessible via input/output ports 140, e.g., universal serial bus (USB) and the like. In turn, the host computer may access a network 150 via application programming interfaces (APIs) and a media access controller (MAC).

[0003] However, a significant drawback of this data routing architecture is that the host computer's resources or devices are only accessible with the involvement of the host CPU/OS. Typically, accessing the host resources from external computers is either prohibited or it is necessary to request access through the host computer using high-level protocols. If the host CPU/OS is overtaxed, a substantial latency will exist where data flow may be stuck in the OS stacks.

[0004] For example, in the field of file handling, various file processing functions such as encryption and compression are performed by a file system layer of the OS. However, this approach requires the involvement of the host OS.

[0005] Therefore, a need exists for a novel network architecture that allows a host computer's resources to be perceived as separate network appliances and are accessible without the interference of the host computer's CPU/OS.

SUMMARY OF THE INVENTION

[0006] The present invention is a novel network architecture. More specifically, the present invention integrates the functions of an internet protocol (IP) router into a network processing unit (NPU) that resides in a host computer's chipset such that the host computer's resources are perceived as separate network appliances. The NPU appears logically separate from the host computer even though, in one embodiment, it is sharing the same chip. A host computer's “chipset” is one or more integrated circuits coupled to a CPU that provide various interfaces (e.g., main memory, hard disks, floppy, USB, PCI, etc), exemplified by Intel's Northbridge and Southbridge integrated circuits.

[0007] In operation, the host computer has a virtual port (i.e., host MAC) that is in communication with the network processing unit and communicates with the NPU as if it is an external network appliance using standard networking protocols. In one embodiment, the host computer communicates via the NPU with one or more auxiliary or dedicated processing units that are deployed to perform dedicated tasks. These auxiliary processing units can be part of the host or can be deployed separate from the host to meet different application requirements. For example, some of these auxiliary processing units include, but are not limited to, a graphics processing unit (GPU), an audio processing unit (APU), a video processing unit (VPU), a storage processing unit (SPU), and a physics processing unit (PPU). The present disclosure refers to these auxiliary processing units as XPU, where the “X” is replaced to signify a particular function performed by the processing unit. Finally, the network processing unit itself is an XPU because it can, in addition to routing packets among XPUs, perform various processing accelerations on these packets, such as authentication, encryption, compression, TCP, IPSec/VPN/PPP encapsulation and so on.

[0008] One unique aspect of the present Invention is that the XPUs have logically direct attachments to the NPU which effectively serves as an integrated router, thereby allowing XPUs to be seen as separate network appliances. Since these auxiliary processing units have first-class status in this logical network architecture, they are allowed to communicate with each other or with any external computer (e.g., via another NPU) directly using standard internet protocols such as IP, TCP, UDP and the like without the involvement of the host CPU/OS. Using this novel architecture, the NPU provides both local (or host) access and remote access acceleration in a distributed computing environment.

[0009] Furthermore, by virtualizing the remaining resources of the host computer, such as its physical memory, ROM, real-time clocks, interrupts, and the like, the present invention allows a single chipset to provide multiple, virtual host computers with each being attached to this NPU. Each of these virtual computers or virtual host may run its own copy of an identical or different operating system, and may communicate with other virtual computers and integrated networked appliances using standard networking protocols. Effectively, the present invention embodies its own hardware-level operating system and graphical user interface (GUI) that reside below the standard host operating system and host computer definition, and allow the computer user to easily configure the network or to switch from one virtual computer to another without changing the standard definition of that host computer.

[0010] In one embodiment, file handling functions previously performed by the host OS is now integrated into a file management layer of a chipset. In effect, the SPU serves as an overall file and disk management processor.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

[0012]FIG. 1 illustrates a block diagram of conventional internal content sources and data pipes;

[0013]FIG. 2 illustrates a block diagram of novel internal content sources and data pipes of the present invention;

[0014]FIG. 3 illustrates a block diagram where a network of host computers are in communication with each other via a plurality of network processing units;

[0015]FIG. 4 illustrates a block diagram where a host computer's resources are networked via a network processing unit of the present invention;

[0016]FIG. 5 illustrates a block diagram of a network of virtual personal computers in communication with a network processing unit of the present invention;

[0017]FIG. 6 illustrates a block diagram of the virtual disk functions that are performed by the SPU of the present invention; and

[0018]FIG. 7 illustrates a block diagram of the file handling and virtual disk functions that are performed by the SPU of the present invention.

[0019] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.

DETAILED DESCRIPTION

[0020]FIG. 2 illustrates a block diagram of novel internal content sources and data pipes 200 of the present invention. Unlike FIG. 1, the present network architecture has a network processing unit 210 of the present invention at the center of the internal content sources and data pipes. The host CPU/OS 250 is no longer central to the data routing scheme. One advantage of this new architecture is that the NPU 210 provides both local or host access and remote access acceleration.

[0021] An operating system is any software platform for application programs; typical examples are Microsoft Windows, Unix, and Apple Macintosh OS. An operating system can be run on top of another operating system (an example of a virtual operating system) or another underlying software platform, possibly as an application program.

[0022] In operation, the host CPU/OS 250 has a virtual port (i.e., host MAC) that is in communication with the network processing unit 210 and communicates with the NPU as if it is an external network appliance using standard networking protocols, e.g., TCP/IP protocols. In one embodiment, the host computer communicates via the NPU with one or more auxiliary or dedicated processing units 220, 230 that are deployed to perform dedicated tasks. These auxiliary processing units can be part of the host or can be deployed separate from the host to meet different application requirements.

[0023] For example, some of these auxiliary processing units include, but are not limited to, a graphics processing unit (GPU), an audio processing unit (APU), a video processing unit (VPU), a physics processing unit (PPU) and a storage processing unit (SPU) 220. Some of these auxiliary processing units can be deployed as part of the media engines 230, whereas the SPU 220 is deployed with the storage devices of the host. Finally, the network processing unit itself is an XPU because it can, in addition to routing packets among XPUs, perform various processing accelerations on these packets, such as authentication, encryption, compression, TCP, IPSec/VPN/PPP encapsulation and so on.

[0024] In one embodiment, the NPU 210 is a network router appliance that resides inside the same “box” or chassis as the host computer 250, i.e., typically within the same chipset. The NPU serves to connect various other “XPUs” that performed dedicated functions such as:

[0025] 1) Storage Processing Unit (SPU) is an auxiliary processing unit that implements a file system, where the file system can be accessed locally by the host or remotely via the NPU's connection to the outside world. The SPU is a special XPU because it behaves as an endpoint for data storage. Streams can originate from an SPU file or terminate at an SPU file.

[0026] 2) Audio Processing Unit (APU) is an auxiliary processing unit that implements audio affects on individual “voices” and mixes them down to a small number of channels. APU also performs encapsulation/decapsulation of audio packets that are transmitted/received over the network via the NPU.

[0027] 3) Video Processing Unit (VPU) is an auxiliary processing unit that is similar to the APU except that it operates on compressed video packets (e.g., MPEG-2 compressed), either compressing them or uncompressing them. The VPU also performs encapsulations into bitstreams or network video packets.

[0028] 4) Graphics Processing Unit (GPU) is an auxiliary processing unit that takes graphics primitives and produces (partial) frame buffers. The GPU is a special XPU because it acts as an endpoint for rendered graphics primitives. Streams can terminate at a GPU frame buffer or originate as raw pixels from a frame buffer.

[0029] 5) Physics Processing Unit (PPU) is an auxiliary processing unit that takes object positions, current velocity vectors, and force equations, and produces new positions, velocity vectors, and collision information.

[0030] 6) Network Processing Unit (NPU) is itself an XPU because it can, in addition to routing packets among XPUs, perform various processing accelerations on these packets, such as authentication, encryption, compression, TCP, IPSec/VPN/PPP encapsulation and the like.

[0031] Some of the above XPUs have a number of commonalities with respect to their association with the host 250 and the NPU 210. First, an XPU can be accessed directly by the host CPU and OS 250 directly as a local resource. Namely, communication is effected by using direct local communication channels.

[0032] Second, an XPU can be placed on the network via the NPU and accessed remotely from other network nodes (as shown in FIG. 3 below). This indicates that an XPU is capable of processing information that is encapsulated in network packets.

[0033] Third, an XPU can be accessed as a “remote” node even from the local host. Namely, communication is effected via the NPU by using network protocols.

[0034] Fourth, an XPU is always in an “on” state (like most appliances) even when the host (CPU+O/S) is in the “off” state. This unique feature allows the XPUs to operate without the involvement of the host CPU/OS, e.g., extracting data from a disk drive of the host without the involvement of the host. More importantly, the host's resources are still available even though the CPU/OS may be in a dormant state, e.g., in a sleep mode.

[0035] Fifth, an XPU has at least two sets of processing queues, one for non-real-time packets and at least one for real-time packets. This duality of queues combined with similar real-time queues in the NPU, allows the system of NPU and XPUs to guarantee latencies and bandwidth for real-time streams.

[0036] Sixth, an XPU has two software (SW) drivers, one that manages the host-side connection to the XPU, and one that manages the remotely-accessed component of the XPU. In operation, the SW drivers communicate with the XPU using abstract command queues, called push buffers (PBs). Each driver has at least one PB going from the driver to the XPU and at least one PB going from the XPU to the driver.

[0037] Seventh, an XPU can also be accessed on the host side directly by a user-level application. Namely, this involves lazy-pinning of user-space buffers by the O/S. Lazy-pinning means to lock the virtual-to-physical address translations of memory pages on demand, i.e., when the translations are needed by the particular XPU. When the translations are no longer needed, they can be unlocked, allowing the operating system to page out those pages. The virtual-to-physical mappings of these buffers are passed to the XPU. A separate pair of PBs are linked into the user's address space and the O/S driver coordinates context switches with the XPU.

[0038] Although the present invention discloses the use of a network processing unit 210 to perform routing functions without the involvement of the CPU/OS, the CPU/OS 250 nevertheless still has an alternate direct communication channel 255 with its resources, e.g., storage devices. This provides the host CPU/OS with the option of communicating with its resources or media engines via the NPU or directly via local access channels 255 or 257.

[0039] In fact, although the CPU/OS is not involved with the general routing function, in one embodiment of the present invention, exception routing issues are resolved by the host CPU/OS. For example, if the NPU receives a packet that it is unable to process, the NPU will forward the packet to the host CPU/OS for resolution. This limited use of the CPU/OS serves to accelerate host processing, while retaining the option to more judiciously use the processing power of the host CPU/OS to resolve difficult issues.

[0040] Additionally, the host resources may also be accessed via the NPU without the involvement of the host CPU/OS 250 via input/output communication channel 240, e.g., via an USB. For example, the present architecture can virtualize the remaining resources of the host computer 250, such as its physical memory, read only memory (ROM), real-time clocks, interrupts, and so on, thereby allowing a single chipset to provide multiple virtual hosts with each host being attached to the NPU 210.

[0041] One unique aspect of the present Invention is that the XPUs have logically direct attachments to the NPU that effectively serves as an integrated router, thereby allowing XPUs to be seen as separate network appliances. Since these auxiliary processing units have first-class status in this logical network architecture, they are allowed to communicate with each other or with any external computer (e.g., via another NPU) directly using standard internet protocols such as IP, TCP, UDP and the like without the involvement of the host CPU/OS. Using this novel architecture, the NPU provides both local (or host) access and remote access acceleration in a distributed computing environment.

[0042]FIG. 3 illustrates a block diagram where a network of host computers 300 a-n are in communication with each other via a plurality of network processing units 310 a-n. This unique configuration provides both host access and remote access acceleration. The accelerated functions can be best understood by viewing the present invention in terms of packetized streams.

[0043] It is best to view this system of NPU and XPUs in the context of streams of packetized data that flow within this system. There are various types of streams that are allowed by the system. In this discussion, the term “host” means the combination of host CPU and memory in the context of the O/S kernel or a user-level process. The term “node” refers to a remote networked host or device that is attached to the NPU via a wired or wireless connection to a MAC that is directly connected to the NPU (e.g., as shown in FIG. 4 below).

[0044] A host-to-XPU stream is a stream that flows directly from the host 350 a to the XPU 330 a. This is a typical scenario for a dedicated XPU (e.g., a dedicated GPU via communication path 357). The stream does not traverse through the NPU 310 a.

[0045] An XPU-to-host stream is a stream that flows directly from the XPU to the host. One example is a local file being read from the SPU 320 a via path 355. The stream does not traverse through the NPU 310 a.

[0046] A host-to-XPU-to-host stream is a stream that flows from host 350 a to an XPU 330 a for processing then back to the host 350 a. One example is where the host forwards voice data directly to the APU for processing of voices into final mix buffers that are subsequently returned to the host via path 357. The stream does not traverse through the NPU 310 a.

[0047] A host-to-NPU-to-XPU stream is a networked stream that flows from the host 350 a via NPU 310 a to an XPU 330 a or 320 a. The three parties transfer packetized data using standard networking protocols, e.g., TCP/IP.

[0048] An XPU-to-NPU-to-Host is a networked stream that flows from an XPU 330 a or 320 a via the NPU 310 a to the host 350 a. The three parties transfer packetized data using standard networking protocols, e.g., TCP/IP.

[0049] A host-to-NPU-to-XPU-to-NPU-to-host is a networked stream that is the combination of the previous two streams. The three parties transfer packetized data using standard networking protocols, e.g., TCP/IP.

[0050] A host-to-NPU-to-Node is a networked stream that flows from the host 350 a via the NPU 310 a to a remote node (e.g., NPU 310 b). This allows a local host 350 a to communicate and access XPUs 330 b of another host via a second NPU 310 b.

[0051] A Node-to-NPU-to-Host is a reverse networked stream where the stream flows from a remote node (e.g., NPU 310 b) via the NPU 310 a to the host 350 a. This allows a remote NPU 350 b to communicate with a local host 350 a via a local NPU 310 a.

[0052] A Node-to-NPU-to-XPU is a networked stream that flows from a remote node 350 b via the NPU 350 a to an XPU 330 a where it terminates. This allows a remote NPU 310 b to communicate with a local XPU 330 a via a local NPU 310 a.

[0053] An XPU-to-NPU-to-Node is a networked stream that flows from an XPU 330 a where it originates to a remote node (e.g., NPU 310 b) via local NPU 310 a.

[0054] A Node0-to-NPU-to-XPU-to-NPU-to-Node1 is a combination of the previous two streams. It should be noted that Node0 and Node1 may be the same or different. For example, Node0 is 310 a; NPU is 310 b; XPU is 330 b; NPU is 310 b; and Node1 is 310 n. Alternatively, Node0 is 310 a; NPU is 310 b; XPU is 330 b; NPU is 310 b; and Node1 is 310 a.

[0055] A {Host,Node0,XPU0}-to-NPU-to-XPU1-to-NPU-to-XPU2-to-NPU-to{Host,Node1,XPU3} is a stream that originates from the host, a remote node, or an XPU, passes through the NPU to another XPU for some processing, then passes through the NPU to another XPU for some additional processing, then terminates at the host, another remote node, or another XPU. It should be clear that the present architecture of a network of integrated processing units provides a powerful and flexible distributed processing environment, where both host access and remote access acceleration are greatly enhanced.

[0056] Under the present architecture, numerous advantages are achieved. First, it is beneficial to tightly integrate other computers and network appliances into the same chipset. Second, it is very advantageous to offload a host computer's I/O functions into a distributed network of intelligent processors, where traditional latencies associated with overtaxed CPU/OS are resolved. Third, it is advantageous to provide these auxiliary I/O processors with first-class network-appliance status within the chipset without changing the definition of the host computer. Fourth, it is advantageous to allow these auxiliary I/O processors to be shared among the host computer, external computers, and internal and external network appliances. Fifth, it is advantageous to allow the remaining resources of the host computer to be virtualized so that multiple virtual copies of the host computer may be embodied in the same chipset, while sharing the network of intelligent auxiliary I/O processors. Finally, it is advantageous to use a hardware-level operating system and graphical user interface (GUI) that allow the user to configure the network and seamlessly switch among virtual copies of the host computer or virtual host.

[0057] In one embodiment of the present invention, real-time media streaming is implemented using the above described network of integrated processing units. Specifically, media streaming typically involves multiple software layers. Thus, latencies can be unpredictable, particularly when the software runs on a general-purpose computer. More importantly, media streaming typically has a severe adverse impact on other applications running on the host computer.

[0058] However, by attaching media devices such as an APU or GPU to an NPU+SPU combination, it is now possible to minimize and guarantee latencies as well as offload the main host CPU. For example, referring to FIG. 3, control requests may arrive from a remote recipient 350 b (typically attached wireless). These control requests may include play, stop, rewind, forward, pause, select title, and so on. Once the stream is set up, the raw data can be streamed directly from a disk managed by the SPU 320 a through the NPU 310 a to the destination client. Alternatively, the data may get preprocessed by the GPU 330 a or APU 330 a prior to being sent out via the NPU 310 a. One important aspect again is that real-time media streaming can take place without host CPU 350 a involvement. Dedicated queuing throughout the system will guarantee latencies and bandwidth.

[0059] This media streaming embodiment clearly demonstrates the power and flexibility of the present invention. One practical implementation of this real-time media streaming embodiment is within the home environment, where a centralized multimedia host server or computer has a large storage device that contains a library of stored media streams or it may simply be connected to a DVD player, a “PVR” (personal video recorder) or “DVR” (digital video recorder). If there are other client devices throughout the home, it is efficient to use the above network architecture to implement real-time media streaming, where a media stream from a storage device of the host computer can be transmitted to another host computer or a television set in a different part of the home. Thus, the real-time media streaming is implemented without the involvement of the host computer and with guaranteed latencies and bandwidth.

[0060]FIG. 4 illustrates a block diagram where a host computer's resources are networked via a network processing unit 410 of the present invention. Specifically, a host 450 communicates with the NPU 410 via a MAC 415 (i.e., a host MAC). In turn, a plurality of XPUs and other host resources 430 a are connected to the NPU via a plurality of MACs 425 that interface with a MAC Interface (MI) (not shown) of the NPU. One example of an NPU is disclosed in US patent application entitled “A Method And Apparatus For Performing Network Processing Functions” with attorney docket NVDA/P000413.

[0061]FIG. 5 illustrates a block diagram of a network of virtual personal computers or virtual hosts that are in communication with a network processing unit 520 of the present invention. More specifically, FIG. 5 illustrates a network of virtual personal computers (VPCs) in a single system (or a single chassis) 500, where the system may be a single personal computer, a set top box, a video game console or the like.

[0062] In operation, FIG. 5 illustrates a plurality of virtual hosts 510 a-e, which may comprise a plurality of different operating systems (e.g., Microsoft Corporation's Windows (two separate copies 510 a and 510 b), and Linux 510 c), a raw video game application 510 d or other raw applications 510 e, where the virtual hosts treat the storage processing unit 530 as a remote file server having a physical storage 540. In essence, one can perceive FIG. 5 as illustrating a “network of VPCs in a box”.

[0063] In one embodiment, the NPU 520 manages multiple IP addresses inside the system for each VPC. For example, the NPU 520 may be assigned a public IP address, whereas each of the VPCs is assigned a private IP address, e.g., in accordance with Dynamic Host Configuration Protocol (DHCP). Thus, each of the VPCs can communicate with each other and the SPU using standard networking protocols.

[0064] Thus, in one embodiment, a user application loaded on one of the virtual host will be able to access the SPU directly via the network processing unit independent of the operating system of another virtual host. In other words, a user application of a first host will be able to access a physical storage device that was formatted with the operating system of a second host without the involvement of the second host's operating system.

[0065]FIG. 6 illustrates a block diagram of the disk functions that are performed by the SPU of the present invention. In one embodiment, functions previously performed by a complex disk controller are now integrated into a virtual disk layer of a chipset, e.g., shown in dash line in FIG. 2. In effect, the SPU serves as the overall file and disk management processor.

[0066] Specifically, FIG. 6 illustrates a SPU 630 comprising a virtual disk layer or module 640 for performing disk functions. The virtual disk layer or module 640, in turn, comprises three separate modules 642, 644, and 646 for performing transparent compression, transparent encryption and RAID-0, 1, 3, and/or 5 functionality, respectively.

[0067] In operation, the SPU 630 uses the main memory of the host as a cache. This is an important aspect of the present invention, since accessing the main memory is accomplished without the involvement of the host OS. Modules 642 and 644 perform transparent encryption and compression on a block level. Transparent encryption stores a key on the chipset that is inaccessible. A copy of the key is password-protected in the first block of the physical disk. Transparent compression keeps compression tag bits on the physical disk and caches them in non-volatile RAM of the host. Blocks are compressed individually, but they are concatenated on the disk to reduce rotation latency and seek time. The remapping of the compressed disks is maintained using the binary tree structure which also is stored on a reserved part of the physical disk and is cached in non-volatile RAM.

[0068] Module 646 provides RAID functionality. Namely, module 646 slices, aggregates, and applies RAID to physical disks 660 and produces new logical disk drives that are exported to the operating system of the host. To improve performance, systems may incorporate disk arrays such as a redundant array of independent disks, commonly known as RAID or RAID array, to accelerate I/O operations and to provide data redundancy. A disk array is a collection of disks 660 from one or more commonly accessible disk subsystems controlled by the SPU. The SPU software, e.g., module 646, controls the operation of the disks and presents them as one or more volumes (virtual disks) to the host or its operating system via host interface (host IF) 650 and virtual disk driver 652. In essence, the SPU presents the storage to the host as one or more volumes by transparently converting I/O operations directed at volumes to I/O operations on the underlying member disks.

[0069] Furthermore, various disk arrays exist with different cost, availability and I/O performance. Two common disk arrays are “mirrored array” and “striped array”. Mirrored arrays contain two or more member disks which contain identical set of user data for improving reliability. In contrast, striped arrays generally interleave user data on two or more member disks for improving the speed of read and write operations. Currently, many different disk array configurations exist, e.g., RAID levels 0-6 and various other hybrid RAID levels which incorporate some aspects in part or in combination of the mirrored and striped array configurations. Thus, the use of disk arrays permits parallel processing of I/O operations, thereby improving I/O performance.

[0070] Additionally, the flexibility and processing power of the SPU 630 can be further exploited via the NPU 620. Namely, any other XPUs (including another NPU attached to a different host) or any one of the virtual host 510 can now access SPU 630 e.g., storing or retrieving files on disks 660, without the involvement of the host OS as disclosed above.

[0071] It should be noted that although the present invention discloses three distinction modules in the virtual disk layer of the SPU, those skilled in the art will realize that a subset of these modules (or additional modules) can be employed in accordance with a particular application. Additionally, although module 646 illustrates RAID-0,1,3,5 functionality, module 646 may implement other RAID functionality as required for a particular application.

[0072]FIG. 7 illustrates a block diagram of the file handling and virtual disk functions that are performed by the SPU 630 of the present invention. More specifically, FIG. 7 illustrates the SPU 630 comprising a file handling layer 710 in conjunction with the virtual disk layer 640 as described above in FIG. 6.

[0073] In operation, the storage processing unit (SPU) 630 effectively integrates local and remote file system handling into its file handling layer 710. The SPU 630 is connected directly to the NPU 620, thereby allowing the SPU to service both local file system accesses (e.g., by a local host, local XPUs or local virtual hosts) and remote file system accesses (e.g., by a remote host, remote XPUs or remote virtual hosts via a second NPU). In the steady-state, there is no O/S involvement and a user process may communicate directly with the SPU. Translations of virtual addresses to physical addresses are performed by the SPU. Remote requests are received via the NPU 620 and are then handled by the SPU. In turn, read data is returned via the NPU 620 without CPU/OS involvement.

[0074] The file handling layer or module 720, in turn, comprises three separate modules 722, 724, and 726 for performing file compression, file encryption and batch writing, respectively. Again, the SPU 630 uses the main memory of the host as a cache. This is an important aspect of the present invention, since accessing the main memory is accomplished without the involvement of the host OS. Modules 722 and 724 perform encryption and compression on a file level, whereas transparent encryption and compression on a block level are performed by the virtual disk layer 640. Namely, files can be compressed and encrypted on a per-file basis, and then undergo transparent compression and encryption on a per block basis, since both the file handling layer 720 and virtual disk layer 640 share the same hardware. The NPU 620 and SPU 630 have dedicated queuing for real-time isochronous file serving.

[0075] The above file integrated system as implemented via a SPU provides several advantages. First, integration of file system acceleration is achieved in a standard PC chipset without the involvement of the host OS, i.e., direct access from user space without O/S involvement. Second, cache page negotiation can be implemented between software drivers and the hardware. Third, since the SPU is implemented in hardware, the present approach provides both hardware-accelerated file compression and hardware-accelerated file encryption on either file or block basis (or both). Fourth, the present approach merges client and server side file serving, thereby allowing local file system to cache remote content. An extension of this feature allows real-time isochronous queuing paths for media serving.

[0076] It should be understood that the XPUs of the present invention can be implemented as one or more physical devices that are coupled to the host CPU through a communication channel. Alternatively, the XPUs can be represented and provided by one or more software applications (or even a combination of software and hardware, e.g., using application specific integrated circuits (ASIC)), where the software is loaded from a storage medium, (e.g., a ROM, a magnetic or optical drive or diskette) and operated in the memory of the computer. As such, the XPUs (including associated methods and data structures) of the present invention can be stored and provided on a computer readable medium, e.g., ROM or RAM memory, magnetic or optical drive or diskette and the like. Alternatively, the XPUs can be represented by Field Programmable Gate Arrays (FPGA) having control bits.

[0077] Although various embodiments which incorporate the teachings of the present invention have been shown and described in detail herein, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings. In the claims, elements of method claims are listed in a particular order, but no order for practicing of the invention is implied, even if elements of the claims are numerically or alphabetically enumerated. 

What is claimed is:
 1. Method for providing an integrated file subsystem, said method comprising: a) providing a network processor unit; b) providing at least one host, wherein said at least one host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a host operating system; c) providing a storage processing unit; and d) accessing a file on said at least one physical storage device independent of said host operating system via said network processor unit and said storage processing unit.
 2. The method of claim 1, further comprising: e) performing a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 3. The method of claim 2, further comprising: f) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 4. The method of claim 1, further comprising: e) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 5. The method of claim 2, further comprising: f) performing a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 6. The method of claim 2, further comprising: f) performing an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 7. The method of claim 4, further comprising: f) performing a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 8. The method of claim 4, further comprising: f) performing an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 9. The method of claim 3, further comprising: g) performing a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 10. The method of claim 3, further comprising: g) performing an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 11. The method of claim 1, wherein said accessing step (d) uses a network protocol.
 12. An integrated file subsystem, said subsystem comprising at least one host, wherein said at least one host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a host operating system; a storage processing unit; and a network processor unit for accessing a file on said at least one physical storage device independent of said host operating system via said storage processing unit.
 13. The subsystem of claim 12, wherein said storage processing unit performs a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 14. The subsystem of claim 13, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 15. The subsystem of claim 12, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 16. The subsystem of claim 13, wherein said storage processing unit performs a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 17. The subsystem of claim 13, wherein said storage processing unit performs an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 18. The subsystem of claim 15, wherein said storage processing unit performs a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 19. The subsystem of claim 15, wherein said storage processing unit performs an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 20. The subsystem of claim 14, wherein said storage processing unit performs a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 21. The subsystem of claim 14, wherein said storage processing unit performs an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 22. The subsystem of claim 12, wherein said storage processing unit is implemented on a chipset.
 23. The subsystem of claim 22, wherein said network processor unit is implemented on a chipset.
 24. The subsystem of claim 12, wherein said network processor unit uses a network protocol.
 25. Method for providing an integrated file subsystem, said method comprising: a) providing a network processor unit; b) providing at least one host, wherein said at least one host comprises a main memory, and a central processing unit (CPU) loaded with a host operating system; c) providing a storage resource having at least one physical storage device; d) providing a storage processing unit; and e) accessing a file of said at least one physical storage device independent of said host operating system via said network processor unit and said storage processing unit.
 26. The method of claim 25, further comprising: f) performing a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 27. The method of claim 26, further comprising: g) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 28. The method of claim 25, further comprising: f) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 29. The method of claim 26, further comprising: g) performing a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 30. The method of claim 26, further comprising: g) performing an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 31. The method of claim 28, further comprising: g) performing a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 32. The method of claim 28, further comprising: g) performing an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 33. The method of claim 27, further comprising: h) performing a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 34. The method of claim 27, further comprising: h) performing an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 35. The method of claim 25, wherein said accessing step (d) uses a network protocol.
 36. An integrated file subsystem, said subsystem comprising: at least one host, wherein said at least one host comprises a main memory, and a central processing unit (CPU) loaded with a host operating system; a storage resource having at least one physical storage device; a storage processing unit; and a network processor unit for accessing a file of said at least one physical storage device independent of said host operating system via said storage processing unit.
 37. The subsystem of claim 36, wherein said storage processing unit performs a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 38. The subsystem of claim 37, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 39. The subsystem of claim 36, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 40. The subsystem of claim 37, wherein said storage processing unit performs a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 41. The subsystem of claim 37, wherein said storage processing unit performs an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 42. The subsystem of claim 39, wherein said storage processing unit performs a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 43. The subsystem of claim 39, wherein said storage processing unit performs an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 44. The subsystem of claim 38, wherein said storage processing unit performs a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 45. The subsystem of claim 38, wherein said storage processing unit performs an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 46. The subsystem of claim 36, wherein said network processor unit uses a network protocol.
 47. The subsystem of claim 36, wherein said storage processing unit is implemented on a chipset.
 48. The subsystem of claim 47, wherein said network processor unit is implemented on a chipset.
 49. Method for providing an integrated virtual disk subsystem, said method comprising: a) providing a network processor unit; b) providing a first host, wherein said first host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a first host operating system; c) providing a storage processing unit; d) providing a second host, loaded with a second host operating system and a user application; and e) accessing a file on said at least one physical storage device independent of said first host operating system via said network processor unit and said storage processing unit by said user application.
 50. The method of claim 49, further comprising: f) performing a compression process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 51. The method of claim 50, further comprising: g) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 52. The method of claim 49, further comprising: f) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 53. The method of claim 50, further comprising: g) performing a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said first host operating system.
 54. The method of claim 50, further comprising: g) performing an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said first host operating system.
 55. The method of claim 52, further comprising: g) performing a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 56. The method of claim 52, further comprising: g) performing an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 57. The method of claim 51, further comprising: h) performing a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 58. The method of claim 51, further comprising: h) performing an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 59. The method of claim 49, wherein said accessing step (e) uses a network protocol.
 60. An integrated file subsystem, said subsystem comprising: a first host, wherein said first host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a first host operating system; a storage processing unit; a second host loaded with a second operating system and a user application; and a network processor unit for accessing a file on said at least one physical storage device independent of said first host operating system via said storage processing unit by said user application.
 61. The subsystem of claim 60, wherein said storage processing unit performs a compression process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 62. The subsystem of claim 61, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 63. The subsystem of claim 60, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said first host operating system.
 64. The subsystem of claim 61, wherein said storage processing unit performs a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said first host operating system.
 65. The subsystem of claim 61, wherein said storage processing unit performs an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said first host operating system.
 66. The subsystem of claim 63, wherein said storage processing unit performs a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 67. The subsystem of claim 63, wherein said storage processing unit performs an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 68. The subsystem of claim 62, wherein said storage processing unit performs a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 69. The subsystem of claim 62, wherein said storage processing unit performs an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said first host operating system.
 70. The subsystem of claim 60, wherein said storage processing unit is implemented on a chipset.
 71. The subsystem of claim 70, wherein said network processor unit is implemented on a chipset.
 72. The subsystem of claim 60, wherein said network processor unit uses a network protocol.
 73. Method for providing an integrated file subsystem for interacting with at least one host, wherein said at least one host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a host operating system, said method comprising: a) providing a network processor unit; b) providing a storage processing unit; and c) accessing a file on said at least one physical storage device independent of said host operating system via said network processor unit and said storage processing unit.
 74. The method of claim 73, further comprising: d) performing a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 75. The method of claim 74, further comprising: e) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 76. The method of claim 73, further comprising: d) performing an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 77. The method of claim 74, further comprising: e) performing a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 78. The method of claim 74, further comprising: e) performing an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 79. The method of claim 76, further comprising: e) performing a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 80. The method of claim 76, further comprising: e) performing an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 81. The method of claim 75, further comprising: f) performing a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 82. The method of claim 75, further comprising: f) performing an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 83. The method of claim 73, wherein said accessing step (d) uses a network protocol.
 84. An integrated file subsystem for interacting with at least one host, wherein said at least one host comprises a main memory, a storage resource having at least one physical storage device and a central processing unit (CPU) loaded with a host operating system, said subsystem comprising: a storage processing unit; and a network processor unit for accessing a file on said at least one physical storage device independent of said host operating system via said storage processing unit.
 85. The subsystem of claim 84, wherein said storage processing unit performs a compression process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 86. The subsystem of claim 85, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 87. The subsystem of claim 84, wherein said storage processing unit performs an encryption process on said file prior to said file being stored on said at least one physical storage device independent of said host operating system.
 88. The subsystem of claim 85, wherein said storage processing unit performs a compression process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 89. The subsystem of claim 85, wherein said storage processing unit performs an encryption process on a block of said compressed file prior to said compressed file being stored on said at least one physical storage device independent of said host operating system.
 90. The subsystem of claim 87, wherein said storage processing unit performs a compression process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 91. The subsystem of claim 87, wherein said storage processing unit performs an encryption process on a block of said encrypted file prior to said encrypted file being stored on said at least one physical storage device independent of said host operating system.
 92. The subsystem of claim 86, wherein said storage processing unit performs a compression process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 93. The subsystem of claim 86, wherein said storage processing unit performs an encryption process on a block of said compressed and encrypted file prior to said compressed and encrypted file being stored on said at least one physical storage device independent of said host operating system.
 94. The subsystem of claim 84, wherein said storage processing unit is implemented on a chipset.
 95. The subsystem of claim 94, wherein said network processor unit is implemented on a chipset.
 96. The subsystem of claim 84, wherein said network processor unit uses a network protocol. 